    <link rel="stylesheet" type="text/css" href="<?=DIR_PLUGIN.'uploadify/uploadify.css';?>">
    <!-- 注意此处的ver参数，防止chrome从缓存中读取数据，引发chrome频繁崩溃的问题 -->
    <script type="text/javascript" src="<?=DIR_PLUGIN.'uploadify/jquery.uploadify.min.js?ver='.mt_rand(1,10000);?>"></script>


    <script type="text/javascript">
        $(function() {
            $('#school_card_file').uploadify({
                'progressData':'speed',
                'multi': false,
                'auto':true,
                'buttonText':'上传文件',
                'fileSizeLimit' : '8MB',
                'fileTypeExts' : '*.jpg;*.jpeg;*.png',
                'successTimeout' : 525,
                'swf'      : '<?=DIR_PLUGIN."uploadify/"?>uploadify.swf',
                'uploader' : '<?=base_url()."system/upload/upload_aliyun"?>',
                'onUploadSuccess' : function(file, data, response) {
                    data = jQuery.parseJSON(data);
                    if(data.error == 0){

                    }
                },
            });

            $('#credit_card_file').uploadify({
                'progressData':'speed',
                'multi': false,
                'auto':true,
                'buttonText':'上传文件',
                'fileSizeLimit' : '8MB',
                'fileTypeExts' : '*.jpg;*.jpeg;*.png',
                'successTimeout' : 525,
                'swf'      : '<?=DIR_PLUGIN."uploadify/"?>uploadify.swf',
                'uploader' : '<?=base_url()."system/upload/upload_aliyun"?>',
                'onUploadSuccess' : function(file, data, response) {
                    data = jQuery.parseJSON(data);
                    if(data.error == 0){

                    }
                },
            });            
        });
    </script>

    </head>
<body>
     <input type="file" id="credit_card_file" name="credit_card_file">
</body>